#include"EffekseerTest.h"

/////////////////
//include
/////////////////
#include<ANX\Effect3DManager.h>
#include<ANX\CppHeader.h>
#include"Game.h"
/////////////////
//prottype
/////////////////

/////////////////
//const
/////////////////


EffekseerTest::EffekseerTest()
{

}
EffekseerTest::~EffekseerTest()
{

}
void EffekseerTest::Init()
{
	Effect3DManager::Init();
	Game::camera.SetPos(Vector3D( 100,0,100));
}
void EffekseerTest::ContentLoad(Device* device)
{
	Effect3DManager::ContentLoad(device);
	Effect3DManager::Load3dEffect(0,L"Resource/Effect/mahouzinn2.efk");
	Effect3DManager::SetEffect(0,Vector3D());
	model = ContentManager::LoadModel("Resource/Knuckle/","Knuckle.pmd");
}
void EffekseerTest::Update()
{
	//if(Key::IsPush(VK_RIGHT))
	{
		Effect3DManager::Update();
	}
}
void EffekseerTest::Draw(DeviceContext* device_context)
{
	
	Effect3DManager::Draw(device_context);
	Game::camera.SetMatrix();
	model->Draw(device_context);
}